//
//  FocusDetailViewController.m
//  EarnBao
//
//  Created by iMac on 15/3/11.
//  Copyright (c) 2015年 杭州赚宝科技有限公司. All rights reserved.
//

#import "FocusDetailViewController.h"
@interface FocusDetailViewController ()

@end

@implementation FocusDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIWebView *webView = [[UIWebView alloc]initWithFrame:[[UIScreen mainScreen]bounds]];
    webView.delegate=self;
    [self.view addSubview:webView];
    
    NSURLRequest *request=[NSURLRequest requestWithURL:[NSURL URLWithString:self.urlString] cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:30];
    [webView loadRequest:request];
    [MBProgressHUD showHUDAddedTo:self.view animated:YES];
}
-(void)webViewDidFinishLoad:(UIWebView *)webView
{
    [MBProgressHUD hideHUDForView:self.view animated:YES];
}


@end
